import { harTasks } from '@ohos/hvigor-ohos-plugin';
// import { exec } from 'child_process';
// const { exec } = require('child_process');

export default {
    system: harTasks,  /* Built-in plugin of Hvigor. It cannot be modified. */
    plugins:[]  ,       /* Custom plugin to extend the functionality of Hvigor. */
}
// export function executeHdcCommand(command: string, callback: (error: Error | null, stdout: string, stderr: string) => void) {
//     exec(`hdc ${command}`, (error, stdout, stderr) => {
//         if (error) {
//             console.error(`执行出错: ${error}`);
//             return;
//         }
//         callback(null, stdout, stderr);
//     });
// }

